<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        //[...]扩展运算符[数组]转化为逗号分隔的[参数序列]
        //声明一个数组
        const tfboys = ['易烊千玺', '王源', '王俊凯'];//=>'易烊千玺','王源','王俊凯

        //声明一个函数
        function chunwan() {
            console.log(arguments);
        }

        chunwan(tfboys); //一个参数
        chunwan(...tfboys) //chunwan()，这三个参数
    </script>
</body>

</html>